<template>
    <div>
        <!-- 3.引用组件 -->
        <cmtbox :id="$route.params.id"></cmtbox>
    </div>
</template>

<script>
    //1.导入评论组件
    import cmtbox from '../subcomponents/comment.vue';
    export default {
        components: {
            cmtbox //2.挂载组件
        }
    };
</script>

<style lang="less" scoped>
</style>